import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { GoodsTypeController } from "../controller/goodsType.controller";
import { GoodsTypeService } from "../service/goodsType.service";
import { GoodsType } from "/@/entities/goods/GoodsType.entity";

@Module({
  imports: [TypeOrmModule.forFeature([GoodsType])],
  controllers: [GoodsTypeController],
  providers: [GoodsTypeService],
  exports: [GoodsTypeService],
})
@SetMetadata(MODULE_PATH, "/admin")
export class GoodsTypeModule {
  //
}
